#include "Queue.h"


void test01()
{
	queue* pq = (queue*)malloc(sizeof(queue));
	InitQueue(pq);
	PushQueue(pq, 1);
	PushQueue(pq, 2);
	PushQueue(pq, 3);
	PushQueue(pq, 4);
	Print(pq);
	PopQueue(pq);
	PopQueue(pq);
	PopQueue(pq);
	//PopQueue(pq);
	//PopQueue(pq);
	Print(pq);
	printf("%d\n", SizeQueue(pq));
	DestoryQueue(pq);
}

int main()
{
	test01();
	return 0;
}